package alibaba.client.cli;

import static alibaba.client.utils.CliUtils.createOption;

import org.apache.commons.cli.Option;

public class CLIOptions {

    public static final Option USER_OPTION = createOption(
            "user",
            "user_name",
            "The username of the client",
            true, true);
    
    public static final Option BACKUP_FILE_OPTION = createOption(
            "file", 
            "file_name", 
            "The file containing the data that will be sent to the remote server", 
            true, true);
    
    public static final Option RESTORE_FILE_OPTION = createOption(
            "file", 
            "file_name", 
            "The file containing the data that will be restored from the remote server", 
            true, true);
    
    public static final Option BACKUP_DIR_OPTION = createOption(
            "dir", 
            "directory_name", 
            "The name of the directory that will be sent to the remote server", 
            true, true);
    
    public static final Option RESTORE_DIR_OPTION = createOption(
            "dir", 
            "directory_name", 
            "The name of the directory that will be restored from the remote server", 
            true, true);
    
    public static final Option LIST_DIR_OPTION = createOption(
            "dir", 
            "directory_name", 
            "The name of the directory to list", 
            true, true);
    
    public static final Option CHECK_DIR_OPTION = createOption(
            "dir", 
            "directory_name", 
            "The name of the directory to check", 
            true, true);

    public static final Option SNAPSHOT_NUMBER = createOption(
            "snapshot", 
            "snapshot_number", 
            "The requested snapshot number (a non-negative number or positive with cs and ds)", 
            false, true);
    
}
